import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';
// import { t } from '@/hooks/web/useI18n';

// prettier-ignore
const subRouter: AppRouteModule = {
  path: '/exam', name: 'exam', component: LAYOUT, meta: { icon: 'ion:tv-outline', title: '考试管理', orderNo: 1, }, children: [
    { path: 'category', name: 'category', meta: { title: '题目分类', ignoreKeepAlive: false, }, component: () => import('/@/pages/exam/category/index.vue'),},
    { path: 'question', name: 'question', meta: { title: '题库', ignoreKeepAlive: false, }, component: () => import('/@/pages/exam/question/index.vue'),},
    { path: 'exam', name: 'exam', meta: { title: '考试', ignoreKeepAlive: false, }, component: () => import('/@/pages/exam/exam/index.vue'),},
  ],
};
export default subRouter;
